$baesColor: #fff;
$background-braeckColor: #f8cc04;
$background-WarningColor: lightcoral;
$borderColor: #07a1e4;

* {
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateZ(0);
}
p { margin: 0; padding: 0; }
i { font-style: normal; }


.box {
  width: 45%;
  margin-left: 3%;
  margin-bottom: 10px;
  //box-shadow: 10px 10px 15px  #ddd;

  .box-top {
    border-bottom: 1px solid #ddd;
    overflow: hidden;

    .top-nav {
      margin: 2%;

      // 车标
      .nav-img {
        width : 15%;

        img {
          height: 50px;
        }
      }

      // 车牌号&车型
      .nav-p {
        margin-left: 2%;
        width: 38%;

        p {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        :first-child {
          font-size: 15px;
          font-weight: bold;
          color: #000;
        }
      }

      //  预计交车时间
      .nav-span {
        text-align: end;
        margin-right: 2%;
        width: 50%;

        span > i {
          color: red;
          font-size: 18px;
        }
      }
    }

    .top-end {
      display: flex;
      margin-bottom: 8px;

      .end-fa {
        margin-left: 2%;
        margin-right: 2%;
        border: 1px solid $borderColor;
        color: $borderColor;
        border-radius: 5px;

        span {
          padding: 3px 11px;
        }
      }
    }
  }

  // 下面部份
  .box-bot {
    overflow: hidden;

    b {
      color: #000;
    }

    .bot-one {
      margin: 2%;
      display: flex;
      justify-content: space-between;

      .one-span {
        padding: 0 11px;
        border: 2px solid $borderColor;
        color: $borderColor;
        border-radius: 5px;
        font-size: 14px;
      }
    }

    .bot-two {
      display: flex;
      justify-content: space-between;
      margin: 2%;

      .two-time {
        width: 55%;
      }

      .two-over {
        text-align: end;
        width: 45%;

        i {
          font-size: 16px;
        }
      }
    }
  }

  //  预警样式
  .error {
    background-color: $background-braeckColor;
    color: $baesColor;
    b {
      color: $baesColor;
    }

    .bot-one {
      .one-span {
        padding: 0 11px;
        border: 2px solid $baesColor;
        color: $baesColor;
        border-radius: 5px;
        font-size: 14px;
      }
    }
  }

  // 超时样式
  .branck {
    background-color: $background-WarningColor;
    color: $baesColor;

    .top-nav {
      .nav-p {
        :first-child {
          color: $baesColor;
        }
      }
      .nav-span {
        span > i {
          color: $baesColor;
          font-size: 18px;
        }
      }
    }

    .top-end {
      .end-fa {
        margin-left: 2%;
        margin-right: 2%;
        border: 1px solid $baesColor;
        color: $baesColor;
        border-radius: 5px;
      }
    }
  }
}

.btns {
  margin-bottom: 10px;
  margin-right: 40px;
  position: relative;
  height: 30px;
  overflow: hidden;

  .btns-nav {
    margin-left: 20px;
    position: absolute;
    right: 5px;
    top: 0;

  }
}

.btn {
  margin-bottom: 10px;
  margin-right: 0;
  height: 60px;

  .btn-nav {
    margin-left: 10px;
    position: inherit;
  }
}

.box-ul {
  display: flex;
  margin: 0;
}

.box-li {
  width: 85px;
  text-align: center;
  font-size: 15px;
  list-style-type:none;

  &:hover {
    background-color: #ddd;
    border-radius: 5px;
  }
}

.box-foc {
  background-color: #ddd;
  border-radius: 5px;
}

a {
  text-decoration:none;
}

